//
//  TopicTableViewCell.m
//  LoveHappyShopping
//
//  Created by 白水非泉 on 16/6/27.
//  Copyright © 2016年 白水非泉. All rights reserved.
//

#import "TopicTableViewCell.h"
#import "TopicCellModel.h"
#import <UIImageView+WebCache.h>
@interface TopicTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imgView;
//@property(nonatomic,strong) *<#name#>;
@end


@implementation TopicTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    // Initialization code
}
-(void)setModel:(TopicCellModel *)model{
    _model=model;
    NSURL *url=[NSURL URLWithString:model.bannerUrl];
    [self.imgView sd_setImageWithURL:url];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
